package com.example.demo1.action;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class HomeAction {

    //陈泽源10.17
    @RequestMapping("/")
    public String home(){
        System.out.println("login");
        return "/login";
    }

    //陈泽源10.17
    @RequestMapping("/header")
    public String header(){
        return "/header";
    }
}
